Skip to content

Add basic anti-spam measures to registration form - #243

Merged
LarsBollmann merged 3 commits into
pep-dortmund:mainfrom
LarsBollmann:master
May 21, 2026
Merged

LarsBollmann merged 3 commits into
pep-dortmund:mainfrom
LarsBollmann:master

Conversation

@LarsBollmann

Copy link
Copy Markdown
Contributor

We got issues with our mail hoster. I suspect the reason is bots using our registration form causing a lot of outgoing mail traffic, often to non-existing mail adresses.

I added two basic measures against this.

  1. A invisible honeypot input. Users don't see it, but bots can check the box causing the form to get rejected.
  2. A captcha. This is a very simple captcha, but should be enough to stop basic bots.

@LarsBollmann
LarsBollmann requested a review from maxnoe May 19, 2026 19:16
Comment thread tests/test_member_registration.py

@maxnoe maxnoe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! Minor question for the test

@LarsBollmann
LarsBollmann merged commit 2a29d9e into pep-dortmund:main May 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants